package com.ruoyi.web.domain.knowledgebase;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName: DiseasePestKnowledge
 * @author: z越
 * @date: 2024/2/20  9:30
 * @description 病虫害知识库扩展
 */
@Data
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = DiseasePestKnowledge.class)
@ApiModel("病虫害知识库扩展信息")
public class DiseasePestKnowledge implements KnowledgeExtend{
    @ApiModelProperty("发生规律")
    private String law;
    @ApiModelProperty("危害特征")
    private String hazardFeature;
    @ApiModelProperty("防治办法")
    private String cure;
}
